Video Tag

<video> Tag is use to use to Insert Video File in a Webpage.

Video Tag - Attributes

control: value: -
control attribute is use to video controls should be Displayed.

autoplay: value: -
autoplay attribute is use to play the video automatically when the webpage is loaded.

muted: value: -
muted attribute is use to define the video output should be muted.

loop: value: -
loop attribute is use to play the video again if the video is end.

src: value: -
src attribute is use to define the sourse of the video file.

height: value: pixel
height attribute is use to define the height of the video player.

width: value: pixel
width attribute is use to define the width of the video player.

poster: value:N2.jpg (poster file sourse)
poster attribute is use to define the thumbnail of the video file (when the webpage is loaded).

Video Tag - Example

<video poster="N2.jpg" id="video1" width="420" autoplay loop>
      <source src="Faded.mp4" type="video/mp4">
</video>
		


Output